<template>
  <div>
    <span>tickCheckbox</span>
    <tickCheckbox :value="0" :checked="requestData.inustry" :isRadio="false" @change="val => { requestData.inustry = val }">运营</tickCheckbox>
    <tickCheckbox :value="1" v-model="requestData.inustry" :isRadio="false">开发</tickCheckbox>
    <button @click="lookResult">look result</button>
  </div>
</template>

<script>
import tickCheckbox from './tickCheckbox.vue'
export default {
  data () {
    return {
      requestData: { inustry: '' }
    }
  },
  components: {
    tickCheckbox
  },
  methods: {
    lookResult () {
      console.log(this.requestData.inustry)
    }
  }
}
</script>
